home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2008 April / PCgo 2008-04 (DVD).iso / interface / contents / demoversionen_3846 / 13664 / files / Data1.cab / mddialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-16  |  2.2 KB  |  73 lines

  1. /******************************************************************/
  2. /*                                                                */
  3. /*                      TurboCAD for Windows                      */
  4. /*                   Copyright (c) 1993 - 2001                    */
  5. /*             International Microcomputer Software, Inc.         */
  6. /*                            (IMSI)                              */
  7. /*                      All rights reserved.                      */
  8. /*                                                                */
  9. /******************************************************************/
  10.  
  11. // MDDialog.h : header file
  12. //
  13.  
  14. #include "VPWnd.h"
  15.  
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CMakeDwgDlg dialog
  18.  
  19. class CMakeDwgDlg : public CDialog
  20. {
  21. // Construction
  22. public:
  23.     CMakeDwgDlg(CWnd* pParent = NULL);    // standard constructor
  24.     ~CMakeDwgDlg(); // TurboCAD SDK: make sure we release the application
  25.  
  26. // Dialog Data
  27.     //{{AFX_DATA(CMakeDwgDlg)
  28.     enum { IDD = IDD_MAKEDWG_DIALOG };
  29.         // NOTE: the ClassWizard will add data members here
  30.     //}}AFX_DATA
  31.  
  32.     // ClassWizard generated virtual function overrides
  33.     //{{AFX_VIRTUAL(CMakeDwgDlg)
  34.     protected:
  35.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  36.     //}}AFX_VIRTUAL
  37.  
  38. // Implementation
  39. protected:
  40.     HRESULT SetupView(IDrawing* pIDrawing);
  41.     void SyncToApplication();
  42.     void EnableButtons();
  43.  
  44.     // TurboCAD SDK: add view member
  45.     CViewWnd m_view;
  46.     HICON m_hIcon;
  47.  
  48.     // TurboCAD SDK:  Pointer to the running application.
  49.     IApplication* m_pIApplication;
  50.  
  51.     // Generated message map functions
  52.     //{{AFX_MSG(CMakeDwgDlg)
  53.     virtual BOOL OnInitDialog();
  54.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  55.     afx_msg void OnPaint();
  56.     afx_msg HCURSOR OnQueryDragIcon();
  57.     afx_msg void OnAddCircle();
  58.     afx_msg void OnAddLine();
  59.     afx_msg void OnAddSpline();
  60.     afx_msg void OnNewDrawing();
  61.     afx_msg void OnInprocServer();
  62.     afx_msg void OnLocalServer();
  63.     afx_msg void OnOpenDrawing();
  64.     afx_msg void OnSaveDrawing();
  65.     afx_msg void OnGetActive();
  66.     afx_msg void OnSelchangeDrawings();
  67.     afx_msg void OnAddBezier();
  68.     afx_msg void OnDestroy();
  69.     afx_msg void OnCurveSmooth();
  70.     //}}AFX_MSG
  71.     DECLARE_MESSAGE_MAP()
  72. };
  73.